<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
		<link rel="stylesheet" href="css/home.css">
		<link rel="stylesheet" href="css/base.css">
		<link rel="stylesheet" type="text/css" href="css/normalize.css" />
		<link rel="stylesheet" type="text/css" href="css/default.css">
		<link rel="stylesheet" href="css/daterangepicker.css" />
		<link type="text/css" rel="stylesheet" href="css/jedate.css">
		<script type="text/javascript" src="js/jquery-3.2.1.js"></script>
		<script type="text/javascript" src="js/index.js"></script>
		<script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
		<script type="text/javascript" src="js/setting.js"></script>
		<script src="js/data/moment.min.js"></script>
		<script src="js/data/daterangepicker.js"></script>
		<script type="text/javascript" src="js/data/jedate.js"></script>
		<script src="js/data/time.js"></script>
		<script type="text/javascript" src="js/userUrl.js"></script>
		<script src="js/setting.js"></script>
		<script type="text/javascript" src="js/personInfro.js"></script>
		<title>舆情定制</title>
		<style>
			body,
			html {
				height: 100%;
				background: white;
			}
		</style>
	</head>

	<body>
		<div class="wholePublic-box">
			<div class="wholePublic-header clearfix">
				<div class="wholePublic-logo fl ">
					<a href="index-logged.html"><img src="images/logo-2.png" /></a>
				</div>
				<div class="wholePublic-header-list fl">
					<ul class="clearfix">
						<li onclick="wholePublic()">全部舆情</li>
						<li class="wholePublic-border" onclick="myCustom">舆情定制</li>
						<li onclick="analy()">分析报告</li>
						<li onclick="thinkTank()">智库</li>
						<li onclick="contactUs()">联系我们</li>
					</ul>
				</div>
				<div class="wholePublic-header-right fr">
					<ul class="clearfix">
						<li id="line"><img src="images/line-2.png" /></li>
						<li onclick="javascript:window.location='my-custom.html'">我的定制</li>
						<li id="exit"><img src="images/exit-2.png" /></li>
						<li class="setting-icon">
							<div id="setting-icon"><img src="images/setting-icon.png" /></div>
							<div class="setting-list">
								<span class="setting-arrow"></span>
								<ul>
									<li onclick="javascript:window.location='company-setting.html'">企业认证</li>
									<li onclick="javascript:window.location='financial-setting.html'">财务中心</li>
								</ul>
							</div>
						</li>
					</ul>
				</div>
			</div>
			<div class="grcolor-box"></div>
			<div class="wholePublic-mainBody clearfix">

				<div class="wholePublic-leftContent wholePublic wholePublic-part2 fl" id="col1">
					<ul>
						<li onclick="myCustom()"><img src="images/my-custom-icon.png" /><span>我的定制</span></li>
						<li class="wholePublic-selected" onclick="customSet()"><img src="images/custom-icon-selected.png" /><span>定制设置</span></a>
						</li>
						<li onclick="warnCustom()"><img src="images/warning-icon.png" /><span>预警推送</span></li>
					</ul>
				</div>
				<div class="wholePublic-rightContent fl">

					<!--定制设置-->

					<form class="custom-box" action="https://www.baidu.com" method="post">
						<div>项目名称<input placeholder="输入项目名称" class="project" id="title"></div>
						<div class="option">
							<ul class="clearfix">
								<li><span class="option-selected span-1 fl"></span><span class="fl">日常舆情</span></li>
								<li><span class="span-1 fl"></span><span class="fl">危机舆情</span></li>
								<li><span class="span-1 fl"></span><span class="fl">自定义监测</span></li>
							</ul>
						</div>

						<div class="daily-option-box">

							<!--日常舆情开始-->
							<div class="daily-public option-box">
								<div>
									<ul class="clearfix">
										<li>时间范围</li>
										<li>
											<div class="demo">
												<span id="two-inputs"><input id="date-range200" class="starttime" size="20" value="">至 <input id="date-range201" class="endtime" size="20" value=""></span>
												<pre class="time-options">
													{
														separator : ' 至',
														getValue: function()
														{
															if ($('#date-range200').val() && $('#date-range201').val() )
																return $('#date-range200').val() + ' to ' + $('#date-range201').val();
															else
																return '';
														},
														setValue: function(s,s1,s2)
														{
															$('#date-range200').val(s1);
															$('#date-range201').val(s2);
														}
													}				
												</pre>
											</div>
										</li>
									</ul>
								</div>

								<div class="media-type add-keyword">
									<ul class="clearfix">
										<li>媒体类型</li>
										<li><span class="span-1 fl"></span><span class="fl">全部</span></li>
										<li data_data="1" onclick="medias(this)"><span class="span-1 fl"></span><span>微信</span class="fl"></li>
										<li data_data="2" onclick="medias(this)"><span class="span-1 fl" ></span><span>微博</span class="fl"></li>
										<li data_data="3" onclick="medias(this)"><span class="span-1 fl" ></span><span>新闻</span class="fl"></li>
										<li data_data="4" onclick="medias(this)"><span class="span-1 fl" ></span><span class="fl">问答</span></li>
										<li data_data="5" onclick="medias(this)"><span class="span-1 fl"></span><span class="fl">论坛</span></li>

									</ul>
								</div>

								<div class="add-keyword clearfix">
									<div class="fl">添加主搜关键词</div>
									<div class="fl">
										<div><input placeholder="输入排除关键词A+关键词B" class="delete-keyword" id="musthave"></div>
										<div class="main-word">
											<!--<ul class="clearfix">
												<li><input type="checkbox" value="大笑" class="checkbox"/><label for="checkbox">大笑</label></li>
												<li><input type="checkbox" value="大笑" class="checkbox"/><label for="checkbox">大笑</label></li>
												<li><input type="checkbox" value="大笑" class="checkbox"/><label for="checkbox">大笑</label></li>
											</ul>-->
											<ul class="clearfix" id="mainKey">
												<li><span class="fl mainWord"></span><span class="fl span-2">大笑</span></li>
												<li><span class="fl mainWord"></span><span class="fl span-2">师傅</span></li>
												<li><span class="fl mainWord"></span><span class="fl span-2">创业</span></li>
												<li><span class="fl mainWord"></span><span class="fl span-2">大笑</span></li>
												<li><span class="fl mainWord"></span><span class="fl span-2">师傅</span></li>
												<li><span class="fl mainWord"></span><span class="fl span-2">创业</span></li>
											</ul>
										</div>
									</div>
								</div>

								<div class="add-keyword clearfix">
									<div class="fl">添加附加关键词</div>
									<div class="fl">
										<div><input placeholder="输入排除关键词A+关键词B" class="delete-keyword" id="couldhave"></div>
										<div>
											<ul class="clearfix" id="add-word">
												<li><span class="span-1 fl"></span><span class="fl">大笑</span></li>
												<li><span class="span-1 fl"></span><span class="fl">师傅</span></li>
												<li><span class="span-1 fl"></span><span class="fl">创业</span></li>
												<li><span class="span-1 fl"></span><span class="fl">大笑</span></li>
												<li><span class="span-1 fl"></span><span class="fl">师傅</span></li>
												<li><span class="span-1 fl"></span><span class="fl">创业</span></li>
											</ul>
										</div>
									</div>
								</div>

								<div class="add-keyword clearfix">
									<div class="fl">添加内容排除关键词</div>
									<div class="fl"><input placeholder="输入排除关键词A+关键词B" class="delete-keyword" id="canthave"></div>
								</div>
							</div>
							<div class="confirm" onclick="daily()" id="daily">
								<input type="button" value="确定" />
							</div>
						</div>

						<!--危机舆情开始-->
						<div class="danger-option-box">
							<div class="danger-public option-box">
								<div>
									<ul class="clearfix">
										<li>时间范围</li>
										<li>
											<div class="datep"><input class="datainp" id="date05" class="crisis_c" type="text"></div>
										</li>
									</ul>
								</div>
								<div>
									<ul class="clearfix cycle-box">
										<li class="cycle">检测周期</li>
										<li>
											<div class="demo">
												<span id="two-inputs-2"><input id="date-range300" size="20" value=" " class="starttime_c">至 <input id="date-range301" size="20" value=" " class="endtime_c"></span>
												<pre class="time-options">
													{
														separator : ' 至',
														getValue: function()
														{
															if ($('#date-range300').val() && $('#date-range301').val() )
																return $('#date-range300').val() + ' to ' + $('#date-range301').val();
															else
																return '';
														},
														setValue: function(s,s1,s2)
														{
															$('#date-range300').val(s1);
															$('#date-range301').val(s2);
														}
													}				
												</pre>
											</div>
										</li>
									</ul>
								</div>

								<div class="media-type add-keyword">
									<ul class="clearfix">
										<li>媒体类型</li>

										<li><span class="span-1 fl"></span><span class="fl">全部</span></li>
										<li data_data="1" onclick="medias(this)"><span class="span-1 fl"></span><span>微信</span class="fl"></li>
										<li data_data="2" onclick="medias(this)"><span class="span-1 fl" ></span><span>微博</span class="fl"></li>
										<li data_data="3" onclick="medias(this)"><span class="span-1 fl" ></span><span>新闻</span class="fl"></li>
										<li data_data="4" onclick="medias(this)"><span class="span-1 fl" ></span><span class="fl">问答</span></li>
										<li data_data="5" onclick="medias(this)"><span class="span-1 fl"></span><span class="fl">论坛</span></li>

									</ul>
								</div>

								<div class="add-keyword clearfix">
									<div class="fl">预警主搜关键词</div>
									<div class="fl">
										<div><input placeholder="输入排除关键词A+关键词B" class="delete-keyword" id="musthave_c"></div>
										<div>
											<ul class="clearfix" id="danger_keyword">
												<li><span class="span-1 fl"></span><span class="fl">大笑</span></li>
												<li><span class="span-1 fl"></span><span class="fl">师傅</span></li>
												<li><span class="span-1 fl"></span><span class="fl">创业</span></li>
												<li><span class="span-1 fl"></span><span class="fl">大笑</span></li>
												<li><span class="span-1 fl"></span><span class="fl">师傅</span></li>
												<li><span class="span-1 fl"></span><span class="fl">创业</span></li>
											</ul>
										</div>
									</div>
								</div>

								<div class="add-keyword clearfix">
									<div class="fl">预警附加关键词</div>
									<div class="fl">
										<div><input placeholder="输入排除关键词A+关键词B" class="delete-keyword" id="couldhave_c"></div>
										<div>
											<ul class="clearfix" id="danger_word">
												<li><span class="span-1 fl"></span><span class="fl">大笑</span></li>
												<li><span class="span-1 fl"></span><span class="fl">师傅</span></li>
												<li><span class="span-1 fl"></span><span class="fl">创业</span></li>
												<li><span class="span-1 fl"></span><span class="fl">大笑</span></li>
												<li><span class="span-1 fl"></span><span class="fl">师傅</span></li>
												<li><span class="span-1 fl"></span><span class="fl">创业</span></li>
											</ul>
										</div>
									</div>
								</div>

								<div class="add-keyword clearfix">
									<div class="fl">预警排除关键词</div>
									<div class="fl"><input placeholder="输入排除关键词A+关键词B" class="delete-keyword" id="canthave_c"></div>
								</div>
								<div class="warning-kol clearfix">
									<div class="fl">预警KOL</div>
									<div class="fl"><input placeholder="输入排除关键词A+关键词B" class="warning-kol-input" id="kol_c"></div>
								</div>
								<div class="sliding-scales clearfix">
									<div class="fl">浮动比例</div>
									<div class="sliding-scales-select fl">
										<select id="flopercen_c">
											<!--<option>60%</option>
											<option>50%</option>
											<option>40%</option>-->
										</select>
									</div>
								</div>
							</div>
							<div class="confirm" onclick="danger();" id="danger">
								<input type="button" value="确定" />
							</div>
						</div>

						<!--自定义监测-->
						<div class="defined-option-box">
							<div class="user-defined option-box">
								<div class="media-type-2 add-keyword">
									<ul class="clearfix">
										<li>媒体类型</li>

										<li><span class="span-1 fl"></span><span class="fl">全部</span></li>
										<li data_data="1" onclick="medias(this)"><span class="span-1 fl"></span><span>微信</span class="fl"></li>
										<li data_data="2" onclick="medias(this)"><span class="span-1 fl" ></span><span>微博</span class="fl"></li>
										<li data_data="3" onclick="medias(this)"><span class="span-1 fl" ></span><span>新闻</span class="fl"></li>
										<li data_data="4" onclick="medias(this)"><span class="span-1 fl" ></span><span class="fl">问答</span></li>
										<li data_data="5" onclick="medias(this)"><span class="span-1 fl"></span><span class="fl">论坛</span></li>

									</ul>
								</div>
								<div class="description clearfix">
									<div class="fl">内容描述</div>
									<div class="textarea-box fl">
										<textarea cols="24" rows="4" placeholder="输入监测内容的描述" id="contentdesc"></textarea>
									</div>
								</div>
								<div class="link-box clearfix">
									<div class="fl">链接地址</div>
									<input placeholder="输入资源链接" class="link fl" id="link">
								</div>
								<div class="contact-box clearfix">
									<div class="fl">联系方式</div>
									<input placeholder="输入联系方式" class="contact fl" id="phone">
								</div>

							</div>
							<div class="confirm" onclick="defined();updatedefined();" id="defined">
								<input type="button" value="确定" />
							</div>
						</div>

				</div>

				</form>
			</div>
		</div>
		</div>
	</body>

</html>
<script>
	//用户信息
	var token = sessionStorage.getItem('token');
	console.log(token);
	var useraccount = JSON.parse(token).useraccount;
	var id = JSON.parse(token).id;

	window.onload = function() {
		Resize();
		medias();
		time();
		keyword();
	};

	//左侧背景
	Resize = function() {
		var doc = document.documentElement;
		relHeight = (doc.clientHeight > doc.scrollHeight) ? doc.clientHeight : doc.scrollHeight; //获取屏幕高度和当前页面高度中的较大值  
		document.getElementById('col1').style.height = relHeight - 82 + 'px'; //id为bg的div就是我页面中的遮罩层

	};

	//媒体类型
	var vals;

	function medias(a) {
		vals = parseInt($(a).attr('data_data'))
		//console.log(vals)
	};

	//关键词
	function keyword() {
		$.ajax({
			type: "post",
			url: 'http://139.224.208.224:8080/qi-radar/diySensa/getSearchWord',
			dataType: 'json',
			contentType: "application/json ",
			headers: {
				"Authorization": token
			},
			asycn: false,
			success: function(data) {
				if(data.code == 0) {
					var data = data.data;
					console.log(data)
					var list1 = "";
					var list2 = "";
					var list3 = "";
					var list4 = "";
					for(var i = 0; i < data.length; i++) {
						list1 += "<li class=\"word\"><span class=\"fl mainWord\"></span><span class=\"fl span-2\">" + data[i].ss_wordname + "</span></li>";
						list2 += "<li class=\"word_2\"><span class=\"fl mainWord\"></span><span class=\"fl span-2\">" + data[i].ss_wordname + "</span></li>";
						list3 += "<li class=\"word_3\"><span class=\"fl mainWord\"></span><span class=\"fl span-2\">" + data[i].ss_wordname + "</span></li>";
						list4 += "<li class=\"word_4\"><span class=\"fl mainWord\"></span><span class=\"fl span-2\">" + data[i].ss_wordname + "</span></li>";
					}
					//	console.log(list)
					$("#mainKey").html(list1);
					$("#add-word").html(list2);
					$("#danger_keyword").html(list3);
					$("#danger_word").html(list4);
					word();
					word_2();
					word_3();
					word_4();
				} else {
					alert(data.errMsg)
				};
			}
		});
	};

	//关键词input中的值
	function word() {
		$(".word").on("click", function() {
			if($(this).find(".mainWord").hasClass("option-selected")) {
				$(this).find(".mainWord").removeClass("option-selected");
				var data = '';
				$('#mainKey').find('.option-selected').each(function() {
					data += $(this).next().text() + ' '
				});
				$("#musthave").val(data);
			} else {
				$(this).find(".mainWord").addClass("option-selected");
				var data = '';
				$('#mainKey').find('.option-selected').each(function() {
					data += $(this).next().text() + ' '
				});
				$("#musthave").val(data);
			}
		});
	};

	function word_2() {
		$(".word_2").on("click", function() {
			if($(this).find(".mainWord").hasClass("option-selected")) {
				$(this).find(".mainWord").removeClass("option-selected");
				var data = '';
				$('#add-word').find('.option-selected').each(function() {
					data += $(this).next().text() + ' '
				});
				$("#couldhave").val(data);
			} else {
				$(this).find(".mainWord").addClass("option-selected");
				var data = '';
				$('#add-word').find('.option-selected').each(function() {
					data += $(this).next().text() + ' '
				});
				$("#couldhave").val(data);
			}
		});
	};

	function word_3() {
		$(".word_3").on("click", function() {
			if($(this).find(".mainWord").hasClass("option-selected")) {
				$(this).find(".mainWord").removeClass("option-selected");
				var data = '';
				$('#danger_keyword').find('.option-selected').each(function() {
					data += $(this).next().text() + ' '
				});
				$("#musthave_c").val(data);
			} else {
				$(this).find(".mainWord").addClass("option-selected");
				var data = '';
				$('#danger_keyword').find('.option-selected').each(function() {
					data += $(this).next().text() + ' '
				});
				$("#musthave_c").val(data);
			}
		});
	};

	function word_4() {
		$(".word_4").on("click", function() {
			if($(this).find(".mainWord").hasClass("option-selected")) {
				$(this).find(".mainWord").removeClass("option-selected");
				var data = '';
				$('#danger_word').find('.option-selected').each(function() {
					data += $(this).next().text() + ' '
				});
				$("#couldhave_c").val(data);
			} else {
				$(this).find(".mainWord").addClass("option-selected");
				var data = '';
				$('#danger_word').find('.option-selected').each(function() {
					data += $(this).next().text() + ' '
				});
				$("#couldhave_c").val(data);
			}
		});
	};

	//新增日常舆情
	var ids = 2;

	function daily() {
		var datas = {
			'id': ids,
			'cd_useraccount': useraccount,
			'cd_title': $("#title").val(),
			'cd_mediatype': vals,
			'cd_musthave': $("#musthave").val(),
			'cd_couldhave': $("#couldhave").val(),
			'cd_canthave': $("#canthave").val(),
			'cd_starttime': $(".starttime").val(),
			'cd_endtime': $(".endtime").val(),
		};
		var data = JSON.stringify(datas);
		$.ajax({
			type: "post",
			url: 'http://139.224.208.224:8080/qi-radar/diySensa/addDailySen',
			dataType: 'json',
			contentType: "application/json ",
			headers: {
				"Authorization": token
			},
			data: data,
			asycn: false,
			success: function(data) {
				if(data.code == 0) {
					alert("定制成功")
					var data = data.data;
					$(".media-type ul").find(".span-1").removeClass("option-selected");
					$(".daily-public").find(".mainWord").removeClass("option-selected");
					$("#title").val(" ");
					$("#musthave").val(" ");
					$("#couldhave").val(" ");
					$("#canthave").val(" ");
					$(".starttime").val(" ");
					$(".endtime").val(" ");
				} else {
					alert(data.errMsg)
				};
			}
		});
	};

	//浮动比例
	function time() {
		var arr = [];
		for(var i = 10; i <= 1000; i++) {
			if(i % 10 === 0) {
				arr[arr.length] = i;
			}
		};
		var list;
		for(var j = 0; j < arr.length; j++) {
			list += "<option >" + arr[j] + "%</option>";
		};
		$("#flopercen_c").html(list);
	};
	time();

	//新增危机舆情
	function danger() {
		var percent = $("#flopercen_c").val().split("%")
		var num = parseInt(percent[0])
		var str = $("#date05").val().split(":");
		var shi = parseInt(str[0]);
		var min = parseInt(str[1]);
		var miao = parseInt(str[2]);
		var total = parseInt(shi * 60 + min + miao / 60);
		var datas = {
			'id': ids,
			'cc_useraccount': useraccount,
			'cc_title': $("#title").val(),
			'cc_musthave': $("#musthave_c").val(),
			'cc_couldhave': $("#couldhave_c").val(),
			'cc_canthave': $("#canthave_c").val(),
			'cc_starttime': $(".starttime_c").val(),
			'cc_endtime': $(".endtime_c").val(),
			'cc_kol': $("#kol_c").val(),
			'cc_flopercen': num,
			'cc_crisis': total
		};
		var data = JSON.stringify(datas);
		$.ajax({
			type: "post",
			url: 'http://139.224.208.224:8080/qi-radar/diySensa/addCrisisSen',
			dataType: 'json',
			contentType: "application/json ",
			headers: {
				"Authorization": token
			},
			data: data,
			asycn: false,
			success: function(data) {
				if(data.code == 0) {
					alert("定制成功！")
					$("#title").val(" ");
					$(".danger-public").find(".span-1").removeClass("option-selected");
					$(".danger-public").find(".mainWord").removeClass("option-selected");
					$("#musthave_c").val(" ");
					$("#couldhave_c").val(" ");
					$("#canthave_c").val(" ");
					$(".starttime_c").val(" ");
					$(".endtime_c").val(" ");
					$("#kol_c").val(" ");
					$("#flopercen_c").val("10%");

				} else {
					alert(data.errMsg)
				};

			}

		})

	};

	//新增自定义监测舆情	
	function defined() {
		var myreg = /^[1][3,4,5,7,8][0-9]{9}$/;
		if(!myreg.test($('#phone').val())) {
			alert("请输入正确格式的手机号码")
			$("#phone").val("");
			return false;
		};
		var datas = {
			'id': ids,
			'cm_useraccount	': useraccount,
			'cm_title': $("#title").val(),
			'cm_mediatype': vals,
			'cm_contentdesc': $("#contentdesc").val(),
			'cm_link': $("#link").val(),
			'cm_phone': $("#phone").val(),
		};

		var data = JSON.stringify(datas);
		$.ajax({
			type: "post",
			url: 'http://139.224.208.224:8080/qi-radar/diySensa/addMonitorSen',
			dataType: 'json',
			contentType: "application/json ",
			headers: {
				"Authorization": token
			},
			data: data,
			asycn: false,
			success: function(data) {
				if(data.code == 0) {
					alert("定制成功")
					var data = data.data;
					$("#title").val("");
					$(".media-type ul").find(".span-1").removeClass("option-selected")
					$("#contentdesc").val("");
					$("#link").val("");
					$("#phone").val("");
				} else {
					alert(data.errMsg)
				};

			}

		});

	};

	//修改自定义监测舆情	
	function updatedefined() {
		var myreg = /^[1][3,4,5,7,8][0-9]{9}$/;
		if(!myreg.test($('#phone').val())) {
			alert("请输入正确格式的手机号码")
			$("#phone").val("");
			return false;
		};
		var data = JSON.stringify({
			'id': 3,
			'cm_useraccount	': useraccount,
			'cm_title': $("#title").val(),
			'cm_mediatype': vals,
			'cm_contentdesc': $("#contentdesc").val(),
			'cm_link': $("#link").val(),
			'cm_phone': $("#phone").val(),
		});

	};
	//	window.onload = function() {
	//		Resize();
	//		window.onresize = function() {
	//			Resize()
	//		};
	//	};

	//			//时间
	//			var start = {
	//				format: 'YYYY-MM-DD hh:mm:ss',
	//				minDate: '2014-06-16 23:59:59', //设定最小日期为当前日期
	//				festival: true,
	//				//isinitVal:true,
	//				maxDate: $.nowDate(0), //最大日期
	//				choosefun: function(elem, datas) {
	//					end.minDate = datas; //开始日选好后，重置结束日的最小日期
	//				}
	//			};
	//			var end = {
	//				format: 'YYYY年MM月DD日 hh:mm:ss',
	//				minDate: $.nowDate(0), //设定最小日期为当前日期
	//				festival: true,
	//				//isinitVal:true,
	//				maxDate: '2099-06-16 23:59:59', //最大日期
	//				choosefun: function(elem, datas) {
	//					start.maxDate = datas; //将结束日的初始值设定为开始日的最大日期
	//				}
	//			};
	//			$("#inpstart").jeDate(start);
	//			$("#inpend").jeDate(end);
	//
	//			$("#date05").jeDate({
	//				isinitVal: true,
	//				festival: true,
	//				ishmsVal: false,
	//				minDate: '2016-06-16 23:59:59',
	//				maxDate: $.nowDate(0),
	//				format: "hh:mm:ss",
	//				zIndex: 3000,
	//			})
</script>